package com.cy.service;

import java.util.List;

import com.cy.bean.UserList;
import com.cy.dao.UserListDao;
import com.cy.dao.UserListDaoImpl;

public class UserListServiceImpl implements UserListService {

	UserListDao userListDao = new UserListDaoImpl();

	@Override
	public List<UserList> findAllByPage(int page, String namevalue) {
		return userListDao.findAllByPage(page, namevalue);
	}

	@Override
	public int findTotal() {
		return userListDao.findTotal();
	}

}
